# # -*- coding: utf-8 -*-
# # @Time : 2022/4/26 00:53
# # @Author : cheney
# # @File : test.py
# # @Software: PyCharm
# # @Site: www.cheney.cc
#
# import socket
# import config
#
# ClientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  # 创建套接字模拟浏览器发送请求
# ClientSocket.connect(('124.222.90.52', 15031))  # 将套接字与端口号绑定起来
#
# msg = "1642931280490173418736482647816598762347659827347123hi i am client,你好"
# ClientSocket.send(msg.encode())  # 发送输入的信息
# data = ClientSocket.recv(1024)  # 接收服务器返回的信息
# print("Accepted>>>", data.decode())  # 输出接收到的信息
#
# ClientSocket.close()

import packet

msg2ss = packet.get_pack('c_s', sign='user', control_type='message5', content=str("bajbckba"))
print(msg2ss)